package com.lanhao.aot.appender;

/**
 * @author zurun
 * @date 2020/8/11 18:55:48
 */
public class LogModel {
    private String timestamp;
    private String tName;
    private String level;
    private String className;
    private String traceId;
    private String message;
    /**
     * 应用名
     */
    private String appName;
    /**
     * docker节点名
     */
    private String podName;
    /**
     * 日志排序,根据时间戳排序的顺序不准
     */
    private int logIndex;

    private transient LogType logType = LogType.LOG;

    public static void main(String[] args) {
        int i = Integer.MAX_VALUE;
        System.out.println(i);
        System.out.println(i + 1);
    }

	public String getTimestamp() {
		return timestamp;
	}

	public LogModel setTimestamp(String timestamp) {
		this.timestamp = timestamp;
		return this;
	}

	public String gettName() {
		return tName;
	}

	public LogModel settName(String tName) {
		this.tName = tName;
		return this;
	}

	public String getLevel() {
		return level;
	}

	public LogModel setLevel(String level) {
		this.level = level;
		return this;
	}

	public String getClassName() {
		return className;
	}

	public LogModel setClassName(String className) {
		this.className = className;
		return this;
	}

	public String getTraceId() {
		return traceId;
	}

	public LogModel setTraceId(String traceId) {
		this.traceId = traceId;
		return this;
	}

	public String getMessage() {
		return message;
	}

	public LogModel setMessage(String message) {
		this.message = message;
		return this;
	}

	public String getAppName() {
		return appName;
	}

	public LogModel setAppName(String appName) {
		this.appName = appName;
		return this;
	}

	public String getPodName() {
		return podName;
	}

	public LogModel setPodName(String podName) {
		this.podName = podName;
		return this;
	}

	public int getLogIndex() {
		return logIndex;
	}

	public LogModel setLogIndex(int logIndex) {
		this.logIndex = logIndex;
		return this;
	}

	public LogType getLogType() {
		return logType;
	}

	public LogModel setLogType(LogType logType) {
		this.logType = logType;
		return this;
	}
    
    
}
